package cn.fbs.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @author yuyuesheng
 * @version 1.0
 * @description:
 * @date 2021/2/25 9:40
 */
@Data
@ApiModel("查询图像VO")
public class QueryPhotoVo {


    //图像来源，传感器类型，图像名称，数据时间--图像独有
    @ApiModelProperty(value = "图像来源")
    private String source;

    @ApiModelProperty(value = "传感器id")
    private Integer sensorId;

    @ApiModelProperty(value = "图像名称")
    private String fileName;

    @ApiModelProperty(value = "开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String startTime;

    @ApiModelProperty(value = "结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String endTime;
}
